package com.yzz.shopping.restapi;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
@MapperScan("com.yzz.shopping.domain.dao, com.sixby.domain.dao")
@ComponentScan(basePackages = "com.yzz.shopping")
public class ShoppingRestApiApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShoppingRestApiApplication.class, args);
    }
}
